export const store = {
    //store里面的数据 放在state里面
    state: {
        numbers: [1, 2, 3]
    },

    //对数据的操作 也要写在store里面
    pushNewNumber(newNumberString) {
        this.state.numbers.push(Number(newNumberString))
    }
}